#pragma once

class CMagicSlider;

class MagicSliderEvents
{
public:
	virtual void OnPosChange(CMagicSlider* Slider) = 0;
};
// CMagicSlider

class CMagicSlider : public CSliderCtrl
{
	DECLARE_DYNAMIC(CMagicSlider)

public:
	CMagicSlider();
	virtual ~CMagicSlider();

protected:
	DECLARE_MESSAGE_MAP()

	MagicSliderEvents* SliderEventHandler;
public:

	void SetEventHandler(MagicSliderEvents* e);

public:
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
};


